package com.dsg.service.Impl;

import com.dsg.entity.Staff;
import com.dsg.mappers.StaffMapper;
import com.dsg.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("loginService")
public class StaffServiceImpl implements StaffService {
    @Autowired
    private StaffMapper staffMapper;
    @Override
    public Staff login(String loginId) {
        return staffMapper.login(loginId);
    }
}
